package com.qijian.maindata.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qijian.maindata.domain.InspectionItem;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 检验项-新Mapper接口
 *
 * @author qijian
 * @date 2024-02-02
 */
public interface InspectionItemMapper extends BaseMapper<InspectionItem> {

    @Select("select count(0) from main_inspection_item")
    int countWithDel();

    List<InspectionItem> selectBySchemeId(@Param("schemeId") Long schemeId);
}
